#ifndef BUILDINDIALOG_H
#define BUILDINDIALOG_H

#include <QtWidgets>
#include <QApplication>
#include <QTimer>

class mainWindow : public QMainWindow
{
	Q_OBJECT
public:
    mainWindow();
private:
    QPushButton *pushBtn1;
    QPushButton *pushBtn2;
    QPushButton *pushBtn3;
	QCheckBox *checkBox1;
	QCheckBox *checkBox2;
	QRadioButton *radioBtn1;
	QRadioButton *radioBtn2;
    QButtonGroup *radioGroup;
    QButtonGroup *checkGroup;
	QToolButton *toolBtn1;
	QLabel *label1;
	QLabel *label2;
	QMovie *movie;
    QLCDNumber *lcdNum;
	QComboBox *comboBox;
	QTextEdit *textEdit;
	QLineEdit *lineEdit;
    QSpinBox *spinBox;
	QDoubleSpinBox *doubleSpinBox;
	QProgressBar *progressBar;
    QDateEdit *dateEdit;
    QTimeEdit *timeEdit;
	QDateTimeEdit *dateTimeEdit;
	QCalendarWidget *calendarWidget;
	QListView *listView;
	QTableView *tableView;
	QTreeView *treeView;
	QTabWidget *tab;
	//QWebEngineView *webView;
	QFont *font;
	QPalette *palette;
	void pushBtnInit();
private slots:
	void pushBtnSlot();
    void checkBoxSlot(QAbstractButton *button);
    void checkBoxChanged(int);
    void radioBtnSlot(QAbstractButton *button);
    void onTimeOut();
	void toolBtnSlot();
    void comboBoxSlot();
    void comboBoxChanged(int);
	void textEditSlot();
    void spinBoxChangedSlot(int);
    void spinBoxChangedSlot(QString);
	void doubleSpinBoxSlot();
	void progressBarSlot();
	void dateEditSlot();
	void dateTimeEditSlot();
	void calenderWidgetSlot();

    void onDateChangedSlot(const QDate &);
    void onTimeChangedSlot(const QTime &);
    void onDateTimeChangedSlot(const QDateTime &);

	void listViewSlot();
	void tableViewSlot();
	void treeViewSlot();
	void webViewSlot();
};



#endif


